<mat-autocomplete #autocomplete="matAutocomplete">
  <mat-option *ngFor="let state of states" [value]="state.code">{{ state.name }}</mat-option>
</mat-autocomplete>

<input id="plain" [matAutocomplete]="autocomplete">
<input id="disabled" disabled [matAutocomplete]="autocomplete">
